package com.songcan.model.oauth;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 系统角色表
 * </p>
 *
 * @author jobob
 * @since 2020-04-29
 */
@Data
@TableName("sys_role")
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class SysRole  implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "role_id", type = IdType.ID_WORKER)
    private Long roleId;

    private String roleName;

    private String roleCode;

    private String roleDesc;

    private Date createTime;

    private Date updateTime;

    /**
     * 删除标识（0-正常,1-删除）
     */
    private Integer delFlag;


}
